package com.sqm.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("comments")
public class Comment {
    @TableId
    private Integer id;
    private String postId;
    private String username;
    private String avatar;
    private String content;
    private Date createdAt;
    private String parentId;
    private String replyTo;
}
